export const Menu: MenuLS[] = [
  {
    name: '用户管理',
    icon: 'anticon anticon-user',
    auth: ['Admin'],
    child: [
      {
        name: '用户列表',
        path: ['./user']
      },
      {
        name: '新建用户',
        path: ['./user/register']
      },
    ],
  },
  // {
  //   name: '配置管理',
  //   icon: 'anticon anticon-code',
  //   child: [
  //     {
  //       name: '配置列表',
  //       path: ['./configmanagement']
  //     },
  //   ],
  // },
  {
    name: 'app管理',
    icon: 'anticon anticon-tablet',
    auth: ['Admin', 'Normal'],
    child: [
      {
        name: 'app列表',
        path: ['./configmanagement']
      },
    ],
  },
]

export class MenuLS {
  name: string;
  icon: string;
  auth: string[];
  child: MenuItem[];
}

export class MenuItem {
  name: string;
  path: string[];
}